package com.brillilab.domain.po.elsearch;

import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import lombok.Data;

@Data
@Document(indexName="kit",type="docs",shards = 1,replicas = 0, refreshInterval = "-1")
public class EsReagent {

    @Id
    public Long kitId;

    /**实验室ID*/
    private Long labId;
    /**kit类型:0-单成分，1-多成分*/
    private Integer kitType;

    /**kit名称*/
    private String kitName;
    /**试剂类型ID*/
    private Long reagentTypeId;

    /**单位*/
    private Integer unit;

    /**货号*/
    private String itemNo;
    /**别名*/
    private String alias;
    /**温区*/
    private Integer zone;

    /**公司*/
    private String company;
    /**说明书*/
    private String instruction;
    /**是否删除*/
    private Integer isDelete;

    private List<EsReagentAttr> reagents;
}
